.reader-recommended-sites {
	@include breakpoint-deprecated( '<660px' ) {
		margin: 0 15px;
	}
}

.reader-recommended-sites__header {
	color: var( --color-text-subtle );
	font-size: $font-body-small;
	letter-spacing: 0.01em;
	font-weight: 600;
	margin: 8px 0;
	position: relative;

	@include breakpoint-deprecated( '>660px' ) {
		margin: 16px 0;
	}

	.gridicon {
		fill: var( --color-text-subtle );
		margin-right: 5px;
		vertical-align: top;
	}
}

.reader-recommended-sites__list {
	display: flex;
	flex-direction: column;
	margin: 0 0 20px;
	padding: 0;

	@include breakpoint-deprecated( '>960px' ) {
		flex-direction: row;
	}
}

.reader-recommended-sites__site-list-item {
	display: flex;
	flex: 1 1 0%;
	flex-direction: row;
	list-style-type: none;
	width: 100%;

	@include breakpoint-deprecated( '>960px' ) {
		align-items: flex-end;
		flex-direction: column;
	}

	> :last-child {
		width: 100%;
		height: 100%;
	}

	.reader-recommended-sites__recommended-site-dismiss {
		justify-content: flex-end;
		position: absolute;
		top: 16px;
		right: 16px;

		@include breakpoint-deprecated( '>960px' ) {
    		top: 0;
    		right: 0;
		}

		.button {
			padding: 0;
			width: 35px;
    		height: 35px;

			&.is-borderless .gridicon {
				fill: var( --color-text-subtle );
				width: 16px;
				height: 16px;
				top: 0;
			}
		}

		z-index: z-index( 'root', '.reader-recommended-sites__recommended-site-dismiss' );
	}

	.reader-list-item {
		margin: 0;
		padding: 0;

		@include breakpoint-deprecated( '<960px' ) {
			padding: 0 0 20px;
		}

		.follow-button .follow-button__label {
			@include breakpoint-deprecated( '<660px' ) {
				display: inline;
			}
		}
	}

	&:last-child {
		@include breakpoint-deprecated( '>960px' ) {
			margin-left: 20px;
		}
	}

	&:only-child {
		margin-left: 0;
		margin-right: 0;
	}

	.reader-list-item__site-title {
		color: var( --color-accent );
	}

	.reader-list-item__by-text,
	.reader-list-item__site-url {
		display: block;
		max-height: 16px * 1.4;
		overflow: hidden;
		text-overflow: ellipsis;
		position: relative;
		word-break: break-all;
		width: 100%;

		&:not( .is-placeholder ) {
			&::after {
				@include long-content-fade( $size: 35px );
			}
		}
	}

	.reader-list-item.reader-list-item__placeholder
		.reader-list-item__site-url.is-placeholder {
		margin-top: 2px;
	}
}
